\hypertarget{structnih_1_1_l_b_v_h__context}{
\section{nih\-:\-:\-L\-B\-V\-H\-\_\-context \-Struct \-Reference}
\label{structnih_1_1_l_b_v_h__context}\index{nih\-::\-L\-B\-V\-H\-\_\-context@{nih\-::\-L\-B\-V\-H\-\_\-context}}
}
\subsection*{\-Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structnih_1_1_l_b_v_h__context_1_1_context}{\-Context}
\begin{DoxyCompactList}\small\item\em \-Cuda accessor struct. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structnih_1_1_l_b_v_h__context_a34282154a3fe6fd266b421f6fd555025}{
\hyperlink{structnih_1_1_l_b_v_h__context_a34282154a3fe6fd266b421f6fd555025}{\-L\-B\-V\-H\-\_\-context} (thrust\-::host\-\_\-vector$<$ \hyperlink{structnih_1_1_bvh__node}{\-Bvh\-\_\-node} $>$ $\ast$nodes, thrust\-::host\-\_\-vector$<$ uint2 $>$ $\ast$leaves)}
\label{structnih_1_1_l_b_v_h__context_a34282154a3fe6fd266b421f6fd555025}

\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item 
\hypertarget{structnih_1_1_l_b_v_h__context_a4df05745f7ef1ca81f2cb469578dd9ce}{
void \hyperlink{structnih_1_1_l_b_v_h__context_a4df05745f7ef1ca81f2cb469578dd9ce}{reserve\-\_\-nodes} (const uint32 n)}
\label{structnih_1_1_l_b_v_h__context_a4df05745f7ef1ca81f2cb469578dd9ce}

\begin{DoxyCompactList}\small\item\em reserve space for more nodes \end{DoxyCompactList}\item 
\hypertarget{structnih_1_1_l_b_v_h__context_ac37452c7c9b371c933deea085ca4e5fe}{
void \hyperlink{structnih_1_1_l_b_v_h__context_ac37452c7c9b371c933deea085ca4e5fe}{reserve\-\_\-leaves} (const uint32 n)}
\label{structnih_1_1_l_b_v_h__context_ac37452c7c9b371c933deea085ca4e5fe}

\begin{DoxyCompactList}\small\item\em reserve space for more leaves \end{DoxyCompactList}\item 
\hypertarget{structnih_1_1_l_b_v_h__context_ae1e39948afe9d5a1bab0432d5c06193e}{
\hyperlink{structnih_1_1_l_b_v_h__context_1_1_context}{\-Context} \hyperlink{structnih_1_1_l_b_v_h__context_ae1e39948afe9d5a1bab0432d5c06193e}{get\-\_\-context} ()}
\label{structnih_1_1_l_b_v_h__context_ae1e39948afe9d5a1bab0432d5c06193e}

\begin{DoxyCompactList}\small\item\em return a cuda context \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structnih_1_1_l_b_v_h__context_a471f8ec4763729d152747997e8ae36a9}{
thrust\-::host\-\_\-vector$<$ \hyperlink{structnih_1_1_bvh__node}{\-Bvh\-\_\-node} $>$ $\ast$ {\bfseries m\-\_\-nodes}}
\label{structnih_1_1_l_b_v_h__context_a471f8ec4763729d152747997e8ae36a9}

\item 
\hypertarget{structnih_1_1_l_b_v_h__context_a80852ddca3266f1e00581c7b9ea83588}{
thrust\-::host\-\_\-vector$<$ uint2 $>$ $\ast$ {\bfseries m\-\_\-leaves}}
\label{structnih_1_1_l_b_v_h__context_a80852ddca3266f1e00581c7b9ea83588}

\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-A simple binary tree context implementation to be used with the \hyperlink{structnih_1_1_bvh}{\-Bvh} \hyperlink{group__bintree_gad76a50ae08ab4d525f748a7cbcc0fb6e}{generate()} function. 

\-The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
bvh/cuda/lbvh\-\_\-test.\-cu\end{DoxyCompactItemize}
